package casa.depesos.app.com.http.req;


import casa.depesos.app.com.http.HttpReq;
import casa.depesos.app.com.http.Req;
import casa.depesos.app.com.http.ReqCallback;
import casa.depesos.app.com.http.bean.NameBean;
import casa.depesos.app.com.http.parser.NameParser;
import okhttp3.FormBody;

public class NameReq implements HttpReq<NameBean> {
    @Override
    public void req(ReqCallback<NameBean> callback) {// /app/queryFirst/queryHeadCust
        FormBody.Builder builder = new FormBody.Builder();
        Req.post("/app/primaryQuery/fetchPrimaryClientProfile", getParam(), getHeader(), builder.build(), new NameParser(), callback, this);
    }
}
